#ifndef types_h
#define types_h

typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned long uint32_t;
typedef struct tag_uint64 {uint32_t lo,hi;}uint64_t;

typedef  char int8_t;
typedef  short int16_t;
typedef  long int32_t;
typedef struct tag_int64 {int32_t lo,hi;}int64_t;


#define to_int32(x) (x.lo) 
#define to_uint32(x) (x.lo) 

#endif// types_h